<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Package
 *
 * @author Sorasak Siangsanan
 */
class Package extends CActiveRecord {

    public static function model($className = __CLASS__) {
        return parent::model($className);
    }
    
    public function primaryKey() {
        return 'package_id';
    }

    public function tableName() {
        return "package";
    }

    public function attributeLabels() {
        return array(
            "package_id" => "package_id",
            "package_name_th" => "package_name_th",
            "package_name_en" => "package_name_en",
            "price" => "price",
            "package_desc" => "package_desc",
            "active" => "active"
        );
    }

}
